package com.chanyachting.emall.service;

import java.util.List;

import com.chanyachting.emall.domain.Memberaccount;
import com.chanyachting.emall.domain.Orders;


/**
 * 
 * 订购记录操作接口
 * @author robert
 *
 */
public interface OrdersService {
	
	
	//创建订单
	public boolean createOrders(Orders order);
	
	//获得一个订单对象
	public Orders getOneOrders(Orders order);
	
	//获得所有订单对象
	public List<Orders> getAllOrders();
	
	//获得指定用户账户的所有订单列表
	public List<Orders> getOrdersByMemberAccount(Memberaccount maccount);

}
